package com.openharmony.filepicker.bean;

public class FileModel {
    private String fileName;
    // 0:文件夹, 1:文件
    private int type;

    public FileModel(){

    }

    public FileModel(String fileName, int type) {
        this.fileName = fileName;
        this.type = type;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        if(type == 0 || type ==1){
            this.type = type;
        }
    }
}
